package yxy.game.pm2.bean.db.po;

import yxy.apple.db.ResultObjectBuilder;

/**
 * @author James
 * @date 2022/1/22 14:37
 **/
public class ActOpenPo {
    private String playerCode;
    private int dataId;
    private int value;

    public static ResultObjectBuilder<ActOpenPo> builder = rs -> {
        ActOpenPo actOpenPo = new ActOpenPo();
        actOpenPo.setPlayerCode(rs.getString("pCode"));
        actOpenPo.setDataId(rs.getInt("dataId"));
        actOpenPo.setValue(rs.getInt("value"));
        return actOpenPo;
    };

    public String getPlayerCode() {
        return playerCode;
    }

    public void setPlayerCode(String playerCode) {
        this.playerCode = playerCode;
    }

    public int getDataId() {
        return dataId;
    }

    public void setDataId(int dataId) {
        this.dataId = dataId;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }
}
